home *** CD-ROM | disk | FTP | other *** search
- Subject: ODF 1+
- Sent: 7/24/96 11:32 AM
- Received: 7/24/96 11:41 AM
- From: Adam Nash, adamnash@CS.Stanford.EDU
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- Hi everyone,
-
- As a new ODF developer, I've been extremely impressed with the
- state of the framework, and the abilty to develop parts. We just finished
- the Developer University class on ODF (which comes highly recommended, in
- my book).
-
- Several of us, though, collaborated to produce a list of features,
- problems, etc with ODF. I thought that I'd throw them out there, in case
- there is well know thought or answers to some of them.
-
- 1) Undo support. We had many debates as too why this isn't
- mandatory for FW_CCommand subclasses. It seems that every non-trivial part
- we made that didn't support undo led to sever instability from maligning
- the expected state for other command objects. It seemed much easier to
- make the undo method pure virtual, and then the few objects that do not
- require undo could just overload it empty.
-
- 2) None of the ODF examples seem to undo the Copy command, ie,
- restoring the contents of the clipboard to what they were before the copy.
- Every action had ramifications...
-
- 3) The whole Idler/Repeater issue. Currently, any FW_CEventHandler
- can have a DoIdle routine, but this seems to defeat the nice, mixin
- architecture we have. Why not go back to having a FW_MIdler mixin class,
- ala LPeriodical in PowerPlant? In addition, I sorely missed methods to
- repeat, ie, every event do something as opposed to every NULL event do
- something. Many of us found that in PowerPlant coding we used repeaters
- *far* more often than idlers, and then used timing functions to prevent
- overkilling event processing.
-
- 4) Good time support. Basically, this just implies a simple
- utility class that maps to a MicroSeconds or TickCount equivalent. It
- would need to be cross-platform, since otherwise we would just use the
- toolbox.
-
- Otherwise, fantastic job on ODF! We were all extremely impressed
- with the framework, and especially the example code and the attentiveness
- to pushing forward.
-
- - Adam
-